package com.webside.series.model;
import java.io.Serializable;
import java.util.Date;
 
import com.webside.videoresource.model.VideoResourceEntity;

public class BvideoEntity implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;

    private Integer seriesId;

    private String title;

    private String description;

    private String summary;

    private Integer setNum;

    private String poster;

    private String cover;

    private Integer resourceId;

    private String tag;

    private Date isLatestUpdate;

    private String downloadUrl;

    private Integer playCount;

    private Integer commentCount;

    private Integer likeCount;

    private Integer downloadCount;

    private Integer shareCount;

    private String status;

    private Integer createUserId;

    private String createUserName;

    private Date createTime;

    private Integer approvalUserId;

    private String approvalUserName;

    private Date approvalTime;

    private Integer deleteUserId;

    private String deleteUserName;

    private Date deleteTime;

    private VideoResourceEntity videoResource;
    
    private String url;
    
    private String source;
    
    public String getResourceName() {
		return videoResource.getName();
	}

	public VideoResourceEntity getVideoResource() {
		return videoResource;
	}

	public void setVideoResource(VideoResourceEntity videoResource) {
		this.videoResource = videoResource;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getDownloadCount() {
		return downloadCount;
	}

	public void setDownloadCount(Integer downloadCount) {
		this.downloadCount = downloadCount;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(Integer seriesId) {
        this.seriesId = seriesId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public Integer getSetNum() {
        return setNum;
    }

    public void setSetNum(Integer setNum) {
        this.setNum = setNum;
    }

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster == null ? null : poster.trim();
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public Integer getResourceId() {
        return resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    public Date getIsLatestUpdate() {
        return isLatestUpdate;
    }

    public void setIsLatestUpdate(Date isLatestUpdate) {
        this.isLatestUpdate = isLatestUpdate;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl == null ? null : downloadUrl.trim();
    }

    public Integer getPlayCount() {
        return playCount;
    }

    public void setPlayCount(Integer playCount) {
        this.playCount = playCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

 
    public Integer getShareCount() {
        return shareCount;
    }

    public void setShareCount(Integer shareCount) {
        this.shareCount = shareCount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getApprovalUserId() {
        return approvalUserId;
    }

    public void setApprovalUserId(Integer approvalUserId) {
        this.approvalUserId = approvalUserId;
    }

    public String getApprovalUserName() {
        return approvalUserName;
    }

    public void setApprovalUserName(String approvalUserName) {
        this.approvalUserName = approvalUserName == null ? null : approvalUserName.trim();
    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }

    public Integer getDeleteUserId() {
        return deleteUserId;
    }

    public void setDeleteUserId(Integer deleteUserId) {
        this.deleteUserId = deleteUserId;
    }

    public String getDeleteUserName() {
        return deleteUserName;
    }

    public void setDeleteUserName(String deleteUserName) {
        this.deleteUserName = deleteUserName == null ? null : deleteUserName.trim();
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }
   /* @Override
   	public String toString() {
   		return "UserEntity [id="+ id +", seriesId=" + seriesId + ", title="
                   + title + ", description=" + description + ", summary="
   				+ summary + ", setNum=" + setNum + ", poster="
   				+ poster + ", cover=" + cover
   				+ ", resourceId=" + resourceId + ", tag=" + tag
   				+ ", isLatestUpdate=" + isLatestUpdate + ", downloadUrl=" + downloadUrl +",	"
   				+ "	shareCount="+ shareCount +", status=" + status + ", createUserId="
   				+ createUserId + ", createUserName=" + createUserName + ", createTime="
   				+ createTime + ", approvalUserId=" + approvalUserId + ", approvalUserName="
   				+ approvalUserName + ", approvalTime=" + approvalTime
   				+ ", deleteUserId=" + deleteUserId + ", deleteUserName=" + deleteUserName
   				+ ", deleteTime=" + deleteTime + ", videoResource=" + videoResource +"]";
   	}*/
}